package com.meitianhui.convenitenbuy.module.store.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.store.model.PayInfoBean;
import com.meitianhui.convenitenbuy.module.store.model.StoreOneLotteryBean;

/**
 * Created by Administrator on 2017/11/2.
 */

public interface StoreOneLotteryContract {
    interface View extends BaseView<Presenter> {
        void getOneLotteryBack(boolean result, StoreOneLotteryBean data, String msg);
        void payLotteryFail(String msg);
        void payLotterySuccess(PayInfoBean data);
    }

    interface Presenter extends BasePresenter {
        void getOneLottery(String storeId);

        void checkPay(String storeId, StoreOneLotteryBean.ActivityListEntity entity, String storeName, String url);
    }
}
